Edit Task: SetPossibilityTimeslot
Format
SCHED / EditTask '<TaskName>' SetPossibilityTimeslot '<PossiblityName>' <TimeslotStartTime> <TimeslotStopTime> <TimeslotPreferredStartTime> <Desirability> '<Comment>'
Description
The SetPossibilityTimeslot attribute under EditTask defines the start and stop times for a task assignment possibility.
Parameters
Parameter | Description |
---|---|
PossibilityName | A string of text with a comma delimited list of resources in the possibility, surrounded by single quotes. Order is not required and the resource names should not be in quotes. |
Start/Stop Times | The format is YYYY/MM/DD_HH:MM:SS or YYYY/MM/DD_HH:MM:SS.fff. These parameters represent existing timeslots within the defines possibility. |
PreferredStartTime | Format is YYYY/MM/DD_HH:MM:SS or YYYY/MM/DD_HH:MM:SS.fff. This parameter is optional and is used to set a preferred start time within the existing window and must be between TimeslotStartTime and TimeslotStopTime minus the minimum duration of the task. If TimeslotPreferredStartTime is omitted then TimeslotPreferredStartTime is defaulted to TimeslotStartTime. |
Desirability | An integer or decimal value between 0 and 100. |
Comment | A string of text in single quotes of the desired comment for the possibility timeslot. Empty string is allowed. |
Examples
Change the timeslot times for a given possibility.
SCHED / EditTask 'TaskA' SetPossibilityTimeslot 'ResA' 2015/01/01_07:17:21 2015/01/01_07:42:36 2015/01/01_07:20:00 57 'Edited timeslot'